<%--
  Created by IntelliJ IDEA.
  User: 10195
  Date: 2024/7/2
  Time: 13:52
  To change this template use File | Settings | File Templates.
--%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ page contentType="text/html;charset=UTF-8" language="java" isELIgnored="false" %>
<html>
    <head>
        <title>Login</title>
        <link rel="stylesheet" href="../css/styles.css">
    </head>
    <body>
        <form action="/FilterListenerAjaxDemo/loginServlet" method="post">
            <h1>登录系统</h1>
            <%--提示错误信息--%>
            <div>${login_msg}</div>
            用户名：<input name="username" type="text" value="${cookie.username.value}"><br>
            密码：<input name="password" type="password" value="${cookie.password.value}"><br>
            记住账号：<input name="remember" type="checkbox" value="1"><br>
            <input value="登录" type="submit">
            <!--这里提前写了一下注册的跳转链接，后面我们会把这个页面也写完-->
            <a href="/FilterListenerAjaxDemo/register.jsp">没有账号？</a>
        </form>
    </body>
</html>